package com.example.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wang gang
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "account_id", type = IdType.AUTO)
    private Long accountId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 0:网页用户, 1:微信用户, 2:客服, 3:调度人员, 4:回收人员, 5:总调度, 6: 总客服
     */
    private Integer accountType;

    private String accountName;

    private String accountPhone;

    /**
     * 密码
     */
    private String password;

    private String headPic;

    /**
     * 支付密码
     */
    private String payPassword;

    /**
     * 支付密码标识
     */
    private Integer payPasswordFlag;

    private Integer isTestAccount;


}
